﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using WaterRevenueMS.Componnent.Data;
using WateRevenueMS.Domain.Data.Migrations;

namespace WateRevenueMS.Domain.Data.Initialize
{
    public static class DatabaseInitializer
    {
        public static void Initialize()
        {
            Database.SetInitializer(new MigrateDatabaseToLatestVersion<EFDbContext, Configuration>());
        }
    }
}
